package biz.datalk.industrialland.common.log.pojo.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SysLogExtExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SysLogExtExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSysLogIdIsNull() {
            addCriterion("sys_log_id is null");
            return (Criteria) this;
        }

        public Criteria andSysLogIdIsNotNull() {
            addCriterion("sys_log_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysLogIdEqualTo(Long value) {
            addCriterion("sys_log_id =", value, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdNotEqualTo(Long value) {
            addCriterion("sys_log_id <>", value, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdGreaterThan(Long value) {
            addCriterion("sys_log_id >", value, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sys_log_id >=", value, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdLessThan(Long value) {
            addCriterion("sys_log_id <", value, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdLessThanOrEqualTo(Long value) {
            addCriterion("sys_log_id <=", value, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdIn(List<Long> values) {
            addCriterion("sys_log_id in", values, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdNotIn(List<Long> values) {
            addCriterion("sys_log_id not in", values, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdBetween(Long value1, Long value2) {
            addCriterion("sys_log_id between", value1, value2, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andSysLogIdNotBetween(Long value1, Long value2) {
            addCriterion("sys_log_id not between", value1, value2, "sysLogId");
            return (Criteria) this;
        }

        public Criteria andReqUrlIsNull() {
            addCriterion("req_url is null");
            return (Criteria) this;
        }

        public Criteria andReqUrlIsNotNull() {
            addCriterion("req_url is not null");
            return (Criteria) this;
        }

        public Criteria andReqUrlEqualTo(String value) {
            addCriterion("req_url =", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotEqualTo(String value) {
            addCriterion("req_url <>", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlGreaterThan(String value) {
            addCriterion("req_url >", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlGreaterThanOrEqualTo(String value) {
            addCriterion("req_url >=", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlLessThan(String value) {
            addCriterion("req_url <", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlLessThanOrEqualTo(String value) {
            addCriterion("req_url <=", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlLike(String value) {
            addCriterion("req_url like", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotLike(String value) {
            addCriterion("req_url not like", value, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlIn(List<String> values) {
            addCriterion("req_url in", values, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotIn(List<String> values) {
            addCriterion("req_url not in", values, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlBetween(String value1, String value2) {
            addCriterion("req_url between", value1, value2, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqUrlNotBetween(String value1, String value2) {
            addCriterion("req_url not between", value1, value2, "reqUrl");
            return (Criteria) this;
        }

        public Criteria andReqMethodIsNull() {
            addCriterion("req_method is null");
            return (Criteria) this;
        }

        public Criteria andReqMethodIsNotNull() {
            addCriterion("req_method is not null");
            return (Criteria) this;
        }

        public Criteria andReqMethodEqualTo(String value) {
            addCriterion("req_method =", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodNotEqualTo(String value) {
            addCriterion("req_method <>", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodGreaterThan(String value) {
            addCriterion("req_method >", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodGreaterThanOrEqualTo(String value) {
            addCriterion("req_method >=", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodLessThan(String value) {
            addCriterion("req_method <", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodLessThanOrEqualTo(String value) {
            addCriterion("req_method <=", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodLike(String value) {
            addCriterion("req_method like", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodNotLike(String value) {
            addCriterion("req_method not like", value, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodIn(List<String> values) {
            addCriterion("req_method in", values, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodNotIn(List<String> values) {
            addCriterion("req_method not in", values, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodBetween(String value1, String value2) {
            addCriterion("req_method between", value1, value2, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqMethodNotBetween(String value1, String value2) {
            addCriterion("req_method not between", value1, value2, "reqMethod");
            return (Criteria) this;
        }

        public Criteria andReqResultIvIsNull() {
            addCriterion("req_result_iv is null");
            return (Criteria) this;
        }

        public Criteria andReqResultIvIsNotNull() {
            addCriterion("req_result_iv is not null");
            return (Criteria) this;
        }

        public Criteria andReqResultIvEqualTo(String value) {
            addCriterion("req_result_iv =", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvNotEqualTo(String value) {
            addCriterion("req_result_iv <>", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvGreaterThan(String value) {
            addCriterion("req_result_iv >", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvGreaterThanOrEqualTo(String value) {
            addCriterion("req_result_iv >=", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvLessThan(String value) {
            addCriterion("req_result_iv <", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvLessThanOrEqualTo(String value) {
            addCriterion("req_result_iv <=", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvLike(String value) {
            addCriterion("req_result_iv like", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvNotLike(String value) {
            addCriterion("req_result_iv not like", value, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvIn(List<String> values) {
            addCriterion("req_result_iv in", values, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvNotIn(List<String> values) {
            addCriterion("req_result_iv not in", values, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvBetween(String value1, String value2) {
            addCriterion("req_result_iv between", value1, value2, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultIvNotBetween(String value1, String value2) {
            addCriterion("req_result_iv not between", value1, value2, "reqResultIv");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyIsNull() {
            addCriterion("req_result_aes_key is null");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyIsNotNull() {
            addCriterion("req_result_aes_key is not null");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyEqualTo(String value) {
            addCriterion("req_result_aes_key =", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyNotEqualTo(String value) {
            addCriterion("req_result_aes_key <>", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyGreaterThan(String value) {
            addCriterion("req_result_aes_key >", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyGreaterThanOrEqualTo(String value) {
            addCriterion("req_result_aes_key >=", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyLessThan(String value) {
            addCriterion("req_result_aes_key <", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyLessThanOrEqualTo(String value) {
            addCriterion("req_result_aes_key <=", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyLike(String value) {
            addCriterion("req_result_aes_key like", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyNotLike(String value) {
            addCriterion("req_result_aes_key not like", value, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyIn(List<String> values) {
            addCriterion("req_result_aes_key in", values, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyNotIn(List<String> values) {
            addCriterion("req_result_aes_key not in", values, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyBetween(String value1, String value2) {
            addCriterion("req_result_aes_key between", value1, value2, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultAesKeyNotBetween(String value1, String value2) {
            addCriterion("req_result_aes_key not between", value1, value2, "reqResultAesKey");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenIsNull() {
            addCriterion("req_result_token is null");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenIsNotNull() {
            addCriterion("req_result_token is not null");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenEqualTo(String value) {
            addCriterion("req_result_token =", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenNotEqualTo(String value) {
            addCriterion("req_result_token <>", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenGreaterThan(String value) {
            addCriterion("req_result_token >", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenGreaterThanOrEqualTo(String value) {
            addCriterion("req_result_token >=", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenLessThan(String value) {
            addCriterion("req_result_token <", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenLessThanOrEqualTo(String value) {
            addCriterion("req_result_token <=", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenLike(String value) {
            addCriterion("req_result_token like", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenNotLike(String value) {
            addCriterion("req_result_token not like", value, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenIn(List<String> values) {
            addCriterion("req_result_token in", values, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenNotIn(List<String> values) {
            addCriterion("req_result_token not in", values, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenBetween(String value1, String value2) {
            addCriterion("req_result_token between", value1, value2, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andReqResultTokenNotBetween(String value1, String value2) {
            addCriterion("req_result_token not between", value1, value2, "reqResultToken");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}